/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.0.0
 * svn version: exported
 * Options:   --check-global -s 314
 * Seed:      314
 */

#include "random_runtime.h"


long __undefined;

/* --- Struct/Union Declarations --- */
/* --- GLOBAL VARIABLES --- */
int8_t g_3[8] = {2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L};


/* --- FORWARD DECLARATIONS --- */
int32_t  func_1(void);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_3
 * writes:
 */
int32_t  func_1(void)
{ /* block id: 0 */
    uint16_t l_2 = 0xB733L;
    if (l_2)
    { /* block id: 1 */
        int i;
        for (l_2 = 6; l_2 >= 0; l_2 += -7)
        { /* block id: 2 */
            return g_3[5];
        }
        return l_2;
    }
    else
    { /* block id: 6 */
        return l_2;
    }
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i;
    func_1();
    printf("checksum g_3[0] = %d\n", g_3[0]);
    printf("checksum g_3[1] = %d\n", g_3[1]);
    printf("checksum g_3[2] = %d\n", g_3[2]);
    printf("checksum g_3[3] = %d\n", g_3[3]);
    printf("checksum g_3[4] = %d\n", g_3[4]);
    printf("checksum g_3[5] = %d\n", g_3[5]);
    printf("checksum g_3[6] = %d\n", g_3[6]);
    printf("checksum g_3[7] = %d\n", g_3[7]);
}

/************************ statistics *************************
XXX max struct depth: 0
breakdown:
   depth: 0, occurrence: 1

XXX max expression depth: 0
breakdown:
   depth: 0, occurrence: 4

XXX total number of pointers: 0

XXX times a non-volatile is read: 4
XXX times a non-volatile is write: 0
XXX times a volatile is read: 0
XXX    times read thru a pointer: 0
XXX times a volatile is write: 0
XXX    times written thru a pointer: 0
XXX times a volatile is available for access: 0
XXX percentage of non-volatile access: 100

XXX forward jumps: 0
XXX backward jumps: 0

XXX stmts: 9

XXX percentage a fresh-made variable is used: 25
XXX percentage an existing variable is used: 75
********************* end of statistics **********************/

